import request from '@/axios'

export const uploadFile = (data: any): Promise<IResponse> => {
  return request.post({
    url: '/upload/localFile',
    data,
    headers: { 'Content-Type': 'multipart/form-data' }
  })
}
